##from django.views.generic import DetailView, ListView
from django.conf.urls.defaults import *
#from interview.models import Question, Rule, Explanation

urlpatterns = patterns('interview.views', 

                       url(r'^questions/(?P<question_number>\d+)/$', 'go_back_question'),
                       url(r'^questions/$', 'questions'), 
		       url(r'^questions/', 'questions'),
                       url(r'^answers/', 'answers'),
                       url(r'^register/', 'register'),
			url(r'^login/', 'LogUserIn'),
			url(r'^logout/', 'LogUserOut'),
			url(r'^index/', 'index'),
			url(r'^answerPage/', 'genPage'),
                       url(r'^', 'index'),

#                       url(r'^$',
#                           ListView.as_view(
#                                            queryset=Poll.objects.order_by('-pub_date')[:5],
#                                            context_object_name='latest_poll_list',
#                                            template_name='polls/index.html')),
#                       url(r'^(?P<pk>\d+)/$',
#                           DetailView.as_view(
#                                              model=Poll,
#                                              template_name='polls/detail.html')),
#                       url(r'^(?P<pk>\d+)/results/$',
#                           DetailView.as_view(
#                                              model=Poll,
#                                              template_name='polls/results.html'),
#                           name='poll_results'),
#                       url(r'^(?P<poll_id>\d+)/vote/$', 'polls.views.vote'),
)
